import App from './App'

// #ifndef VUE3
import Vue from 'vue'
import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'

import common from './script/common.js';
Vue.prototype.$common = common;

import request from './utils/request.js'
Vue.prototype.$httpost = request;

import moment from './script/moment.js';
Vue.prototype.$moment = moment;

// 图片地址
Vue.prototype.$baseUrl = "https://api.meimo.comdns.cn/public/";

const app = new Vue({
	...App
})
app.$mount()
// #endif

// #ifdef VUE3
import {
	createSSRApp
} from 'vue'
export function createApp() {
	const app = createSSRApp(App)
	return {
		app
	}
}
// #endif